package com.yanqu.road.entity.enums;


/**
 * @author duli
 * @version 1.0
 * @date 2020/10/13 10:24
 * @Description
 */
public enum ePushGoodsType {

    Currency(1,"货币"),

    NormalProp(2,"通用道具"),

    GoodsBag(3,"礼包"),

    PatronsFragment(4,"门客碎片"),

    BeautyToken(5,"美女信物"),

    CommonActivityGood(6,"通用活动道具"),

    BeautyIntimacy(100,"美女亲密度道具"),

    AddSilver(101,"赚钱卡"),

    ChildSiteTrainTimesRecover(102,"子嗣席位恢复培养次数"),

    TradeWarChallenge(103,"商战挑战券"),

    AddPatronsExp(104,"阅历卡"),

    BeautyEnergyRecover(105,"美女精力恢复"),

    AddPrestige(106,"增加声望道具"),

    AddStaff(108,"增加店铺员工"),

    AddPatronsAbility(109,"增加门客能力"),

    AddBeautyIntimacy(110,"增加美女亲密度"),

    TravelPowerRecover(111,"游历体力恢复"),

    BeautyGlamour(112,"美女魅力值道具"),

    Skin(113,"皮肤道具"),

    OreWarHp(114,"盐场体力值道具"),
    ;

    private int intValue;
    private String name;

    ePushGoodsType(int value, String name) {
        intValue = value;
        this.name=name;
    }

    public int getValue() {
        return intValue;
    }

    public String getName() {
        return name;
    }

    public static ePushGoodsType forValue(int value) {
        for (ePushGoodsType type : ePushGoodsType.values()) {
            if (type.intValue == value) {
                return type;
            }
        }
        return null;
    }
}
